package com.yhm.myfootbollshow.demos.entity.po;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* 用户收藏表
* @TableName favorite
*/
@Data
@Accessors(chain = true)
public class Favorite implements Serializable {

    /**
    * 收藏ID
    */
    @ApiModelProperty("收藏ID")
    @TableId
    private Long favoriteId;
    /**
    * 用户ID
    */
    @ApiModelProperty("用户ID")
    private Long userId;
    /**
    * 商品ID
    */
    @ApiModelProperty("商品ID")
    private Long productId;
    /**
    * 创建时间
    */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
